package com.yj.cmp.sdk.fusioncompute.compute.vm.vo;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author :LiuYuMei
 * @Date :2021-09-02 15:48:52
 */

@NoArgsConstructor
@Data
public class VmSnapshotsListVo {

    @SerializedName("currentSnapshot")
    private CurrentSnapshotVo currentSnapshot;
    @SerializedName("rootSnapshots")
    private List<RootSnapshotsVo> rootSnapshots;

    @NoArgsConstructor
    @Data
    public static class CurrentSnapshotVo {
        @SerializedName("name")
        private String name;
        @SerializedName("uri")
        private String uri;
        @SerializedName("urn")
        private String urn;
    }

    @NoArgsConstructor
    @Data
    public static class RootSnapshotsVo {
        @SerializedName("childSnapshots")
        private List<?> childSnapshots;
        @SerializedName("createTime")
        private String createTime;
        @SerializedName("description")
        private String description;
        @SerializedName("name")
        private String name;
        @SerializedName("status")
        private String status;
        @SerializedName("type")
        private String type;
        @SerializedName("uri")
        private String uri;
        @SerializedName("urn")
        private String urn;
    }
}
